package com.googlecode.ipinfodb.client;

/**
 * @author Denis Migol
 * 
 */
public class CityInfo {
	private String ipAddress;
	private String countryCode;
	private String countryName;
	private String regionName;
	private String cityName;
	private Long zipCode;
	private Float latitude;
	private Float longitude;
	private String timeZone;

	/**
	 * @param ipAddress
	 *            the ipAddress to set
	 */
	public void setIpAddress(final String ipAddress) {
		this.ipAddress = ipAddress;
	}

	/**
	 * @return the ipAddress
	 */
	public String getIpAddress() {
		return ipAddress;
	}

	/**
	 * @param countryCode
	 *            the countryCode to set
	 */
	public void setCountryCode(final String countryCode) {
		this.countryCode = countryCode;
	}

	/**
	 * @return the countryCode
	 */
	public String getCountryCode() {
		return countryCode;
	}

	/**
	 * @param countryName
	 *            the countryName to set
	 */
	public void setCountryName(final String countryName) {
		this.countryName = countryName;
	}

	/**
	 * @return the countryName
	 */
	public String getCountryName() {
		return countryName;
	}

	/**
	 * @param regionName
	 *            the regionName to set
	 */
	public void setRegionName(final String regionName) {
		this.regionName = regionName;
	}

	/**
	 * @return the regionName
	 */
	public String getRegionName() {
		return regionName;
	}

	/**
	 * @param cityName
	 *            the cityName to set
	 */
	public void setCityName(final String cityName) {
		this.cityName = cityName;
	}

	/**
	 * @return the cityName
	 */
	public String getCityName() {
		return cityName;
	}

	/**
	 * @param zipCode
	 *            the zipCode to set
	 */
	public void setZipCode(final Long zipCode) {
		this.zipCode = zipCode;
	}

	/**
	 * @return the zipCode
	 */
	public Long getZipCode() {
		return zipCode;
	}

	/**
	 * @param latitude
	 *            the latitude to set
	 */
	public void setLatitude(final Float latitude) {
		this.latitude = latitude;
	}

	/**
	 * @return the latitude
	 */
	public Float getLatitude() {
		return latitude;
	}

	/**
	 * @param longitude
	 *            the longitude to set
	 */
	public void setLongitude(final Float longitude) {
		this.longitude = longitude;
	}

	/**
	 * @return the longitude
	 */
	public Float getLongitude() {
		return longitude;
	}

	/**
	 * @param timeZone
	 *            the timeZone to set
	 */
	public void setTimeZone(final String timeZone) {
		this.timeZone = timeZone;
	}

	/**
	 * @return the timeZone
	 */
	public String getTimeZone() {
		return timeZone;
	}

	@Override
	public String toString() {
		return "CityInfo [ipAddress=" + ipAddress + ", countryCode=" + countryCode + ", countryName=" + countryName
				+ ", regionName=" + regionName + ", cityName=" + cityName + ", zipCode=" + zipCode + ", latitude="
				+ latitude + ", longitude=" + longitude + ", timeZone=" + timeZone + "]";
	}
}